package com.ws.test04;

/**
 * @author 王硕
 * @version jdk21
 * @className Sub
 * @description
 * @date 2024/11/22 15:37
 */
public class Sub extends Super{
    @Override
    public void m1(){
        super.m1();
        System.out.println("sub-m1");
    }
    public void m2(){
        System.out.println("sub-m2");
    }
}
